<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智能体Solo模式 - 执行页面3</title>
    <style>
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
            min-height: 100vh;
            color: #333;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        .header {
            text-align: center;
            margin-bottom: 40px;
            background: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .header h1 {
            color: #2c3e50;
            font-size: 2.2em;
            margin: 0 0 10px 0;
            font-weight: 700;
        }
        .header p {
            color: #7f8c8d;
            font-size: 1.1em;
            margin: 0;
        }
        .summary-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        .summary-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 10px;
            height: 100%;
            background: linear-gradient(to bottom, #84fab0, #8fd3f4);
        }
        .summary-card h2 {
            color: #34495e;
            margin-top: 0;
            margin-bottom: 20px;
            font-size: 1.6em;
            border-bottom: 3px solid #2ecc71;
            padding-bottom: 10px;
        }
        .summary-content {
            line-height: 1.6;
        }
        .summary-content h3 {
            color: #27ae60;
            margin-top: 25px;
            margin-bottom: 15px;
            font-size: 1.3em;
        }
        .summary-content p {
            margin: 0 0 15px 0;
            color: #2c3e50;
        }
        .summary-content ul {
            margin: 10px 0;
            padding-left: 20px;
        }
        .summary-content li {
            margin-bottom: 8px;
            color: #2c3e50;
        }
        .highlight {
            background: #fff3cd;
            padding: 2px 5px;
            border-radius: 3px;
            font-weight: bold;
            color: #856404;
        }
        .conclusion {
            background: #d4edda;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid #28a745;
            margin: 20px 0;
        }
        .conclusion h3 {
            color: #155724;
            margin-top: 0;
            margin-bottom: 15px;
        }
        .conclusion p {
            color: #155724;
            font-weight: 500;
        }
        .recommendation {
            background: #cce5ff;
            padding: 20px;
            border-radius: 10px;
            border-left: 4px solid #007bff;
            margin: 20px 0;
        }
        .recommendation h3 {
            color: #004085;
            margin-top: 0;
            margin-bottom: 15px;
        }
        .recommendation ol {
            margin: 0;
            padding-left: 20px;
        }
        .recommendation li {
            margin-bottom: 10px;
            color: #004085;
        }
        .agents-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        .agent-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        .agent-card:hover {
            transform: translateY(-5px);
        }
        .agent-card h3 {
            color: #2c3e50;
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 1.3em;
            display: flex;
            align-items: center;
        }
        .agent-card h3 i {
            margin-right: 10px;
            font-size: 1.2em;
        }
        .agent-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #84fab0, #8fd3f4);
            border-radius: 50%;
            margin: 0 auto 20px auto;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
        }
        .contribution-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .contribution-item {
            background: #f8f9fa;
            padding: 12px;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 4px solid #2ecc71;
            font-size: 0.95em;
            line-height: 1.4;
        }
        .contribution-item.detective {
            border-left-color: #3498db;
        }
        .contribution-item.profile {
            border-left-color: #e74c3c;
        }
        .collaboration-flow {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .collaboration-flow h2 {
            color: #34495e;
            margin-top: 0;
            margin-bottom: 20px;
            font-size: 1.6em;
            border-bottom: 3px solid #3498db;
            padding-bottom: 10px;
        }
        .flow-steps {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .flow-step {
            display: flex;
            align-items: flex-start;
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            position: relative;
        }
        .flow-step:not(:last-child)::after {
            content: '';
            position: absolute;
            left: 29px;
            bottom: -20px;
            width: 2px;
            height: 20px;
            background: #3498db;
        }
        .step-number {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            font-weight: bold;
            margin-right: 20px;
            flex-shrink: 0;
        }
        .step-content {
            flex-grow: 1;
        }
        .step-content h3 {
            color: #2980b9;
            margin-top: 0;
            margin-bottom: 10px;
            font-size: 1.2em;
        }
        .step-content p {
            margin: 0;
            color: #2c3e50;
            line-height: 1.5;
        }
        .step-agents {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        .step-agent {
            background: #e3f2fd;
            color: #1565c0;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: bold;
        }
        .execution-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        .stat-box {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        .stat-box h3 {
            color: #34495e;
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 1.2em;
        }
        .stat-value {
            font-size: 2.5em;
            font-weight: bold;
            color: #2ecc71;
            margin-bottom: 10px;
        }
        .stat-description {
            font-size: 0.9em;
            color: #7f8c8d;
        }
        .execution-container {
            display: grid;
            grid-template-columns: 3fr 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }
        .results-panel {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .results-panel h2 {
            color: #34495e;
            margin-top: 0;
            margin-bottom: 20px;
            font-size: 1.6em;
            border-bottom: 3px solid #84fab0;
            padding-bottom: 10px;
        }
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .execution-controls {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .execution-controls h3 {
            color: #2c3e50;
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 1.3em;
        }
        .control-button {
            width: 100%;
            padding: 15px;
            margin-bottom: 10px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .control-button.primary {
            background: linear-gradient(135deg, #84fab0, #8fd3f4);
            color: white;
            box-shadow: 0 5px 15px rgba(132, 250, 176, 0.3);
        }
        .control-button.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 7px 20px rgba(132, 250, 176, 0.4);
        }
        .control-button.secondary {
            background: #f8f9fa;
            color: #2ecc71;
            border: 2px solid #2ecc71;
        }
        .control-button.secondary:hover {
            background: #2ecc71;
            color: white;
            transform: translateY(-2px);
        }
        .system-messages {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        .system-messages h3 {
            color: #2c3e50;
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 1.3em;
        }
        .message {
            background: #f8f9fa;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 10px;
            font-size: 0.9em;
            border-left: 4px solid #2ecc71;
        }
        .message.info {
            border-left-color: #3498db;
            background: #e3f2fd;
        }
        .message.success {
            border-left-color: #2ecc71;
            background: #e8f5e9;
        }
        .message.warning {
            border-left-color: #f39c12;
            background: #fff3cd;
        }
        .navigation {
            text-align: center;
            margin-top: 40px;
        }
        .nav-button {
            background: linear-gradient(135deg, #84fab0, #8fd3f4);
            color: white;
            border: none;
            padding: 12px 30px;
            margin: 0 10px;
            border-radius: 30px;
            font-size: 1em;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(132, 250, 176, 0.3);
        }
        .nav-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 7px 20px rgba(132, 250, 176, 0.4);
        }
        .timeline {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
        }
        .timeline h4 {
            color: #34495e;
            margin-top: 0;
            margin-bottom: 15px;
        }
        .timeline-item {
            display: flex;
            margin-bottom: 15px;
            position: relative;
            padding-left: 40px;
        }
        .timeline-item:not(:last-child)::before {
            content: '';
            position: absolute;
            left: 19px;
            top: 25px;
            width: 2px;
            height: calc(100% + 10px);
            background: #3498db;
        }
        .timeline-time {
            position: absolute;
            left: 0;
            top: 0;
            background: #3498db;
            color: white;
            padding: 5px 10px;
            border-radius: 8px;
            font-size: 0.85em;
            font-weight: bold;
        }
        .timeline-content {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            flex-grow: 1;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>🤝 联合分析 - 智能体协作模式</h1>
            <p>Solo模式下的多智能体协作解决复杂问题</p>
        </div>
        
        <div class="summary-card">
            <h2>📊 案例联合分析总结</h2>
            <div class="summary-content">
                <p>通过侦探助手和人物剖析专家两个智能体的协作分析，我们对滨海市博物馆「玉龙佩」失窃案进行了全面深入的调查。两个智能体分别从不同角度提供了专业分析，并通过协作形成了更加完整和可靠的结论。</p>
                
                <h3>🎯 主要发现</h3>
                <ul>
                    <li><span class="highlight">确定了两名高嫌疑人员</span>：保安队长李强和清洁工王芳</li>
                    <li>发现了明确的<span class="highlight">内外勾结作案模式</span></li>
                    <li>重构了完整的<span class="highlight">作案时间线</span></li>
                    <li>分析了犯罪嫌疑人的<span class="highlight">心理动机和行为模式</span></li>
                </ul>
                
                <div class="conclusion">
                    <h3>✅ 综合结论</h3>
                    <p>基于多维度分析，我们有<strong>高度确信</strong>：保安队长李强与清洁工王芳存在共谋关系，李强负责破坏监控系统并提供安保漏洞信息，王芳则负责接应外部盗窃人员并提供展厅内部情报。作案动机主要为经济利益，李强事后收到的不明大额存款和王芳与文物走私犯的联系是关键证据。</p>
                </div>
                
                <div class="recommendation">
                    <h3>🔍 行动建议</h3>
                    <ol>
                        <li>立即对李强和王芳实施隔离调查，防止串供</li>
                        <li>冻结李强的银行账户，追踪资金来源和流向</li>
                        <li>深入调查王芳与文物走私犯的通信记录和关联</li>
                        <li>扩大监控范围，查找案发当晚可能的接应车辆</li>
                        <li>对博物馆安保系统进行全面升级，消除类似漏洞</li>
                    </ol>
                </div>
            </div>
        </div>
        
        <div class="agents-container">
            <div class="agent-card">
                <div class="agent-icon">🔍</div>
                <h3>侦探助手贡献</h3>
                <ul class="contribution-list">
                    <li class="contribution-item detective">分析了9条关键证据，识别出3处矛盾点</li>
                    <li class="contribution-item detective">重构了案发时间线，确定了关键时间节点</li>
                    <li class="contribution-item detective">发现了监控系统中断与电力波动的关联</li>
                    <li class="contribution-item detective">提供了基于证据的逻辑推理链</li>
                    <li class="contribution-item detective">识别了物证（鞋印）与案件的关联</li>
                </ul>
            </div>
            
            <div class="agent-card">
                <div class="agent-icon">🧠</div>
                <h3>人物剖析专家贡献</h3>
                <ul class="contribution-list">
                    <li class="contribution-item profile">分析了李强的性格特征和经济动机</li>
                    <li class="contribution-item profile">识别了王芳的异常行为和外部联系</li>
                    <li class="contribution-item profile">预测了嫌疑人在审讯中的可能反应</li>
                    <li class="contribution-item profile">分析了两人的协作模式和角色分工</li>
                    <li class="contribution-item profile">提供了针对性的审讯策略建议</li>
                </ul>
            </div>
        </div>
        
        <div class="execution-container">
            <div class="results-panel">
                <h2>🔄 智能体协作流程</h2>
                
                <div class="collaboration-flow">
                    <h2>协作工作流程</h2>
                    <div class="flow-steps">
                        <div class="flow-step">
                            <div class="step-number">1</div>
                            <div class="step-content">
                                <h3>证据收集与预处理</h3>
                                <p>系统收集所有可用证据，包括监控录像、证人证言、物证和时间线信息，并进行初步整理和标准化。</p>
                                <div class="step-agents">
                                    <span class="step-agent">侦探助手</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flow-step">
                            <div class="step-number">2</div>
                            <div class="step-content">
                                <h3>证据分析与矛盾检测</h3>
                                <p>侦探助手分析所有证据，识别矛盾点和不一致之处，并构建初步的证据链。</p>
                                <div class="step-agents">
                                    <span class="step-agent">侦探助手</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flow-step">
                            <div class="step-number">3</div>
                            <div class="step-content">
                                <h3>人物信息收集</h3>
                                <p>收集所有相关人员的基本信息、行为表现和异常点，为心理分析做准备。</p>
                                <div class="step-agents">
                                    <span class="step-agent">人物剖析专家</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flow-step">
                            <div class="step-number">4</div>
                            <div class="step-content">
                                <h3>心理与行为分析</h3>
                                <p>人物剖析专家对关键人物进行性格分析、动机分析和行为模式分析。</p>
                                <div class="step-agents">
                                    <span class="step-agent">人物剖析专家</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flow-step">
                            <div class="step-number">5</div>
                            <div class="step-content">
                                <h3>协作推理与假设验证</h3>
                                <p>两个智能体协作，将证据分析与人物分析结合，验证假设并修正推理方向。</p>
                                <div class="step-agents">
                                    <span class="step-agent">侦探助手</span>
                                    <span class="step-agent">人物剖析专家</span>
                                </div>
                            </div>
                        </div>
                        
                        <div class="flow-step">
                            <div class="step-number">6</div>
                            <div class="step-content">
                                <h3>综合结论与建议生成</h3>
                                <p>基于协作分析结果，生成最终结论和具体的行动建议。</p>
                                <div class="step-agents">
                                    <span class="step-agent">侦探助手</span>
                                    <span class="step-agent">人物剖析专家</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="timeline">
                    <h4>🕒 案件时间线重构</h4>
                    <div class="timeline-item">
                        <div class="timeline-time">21:00</div>
                        <div class="timeline-content">
                            <strong>文物管理员张晓明</strong>完成最后一次文物检查并离开博物馆
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-time">21:15</div>
                        <div class="timeline-content">
                            <strong>清洁工王芳</strong>完成中央展厅清洁，可能此时已为作案做准备
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-time">21:20</div>
                        <div class="timeline-content">
                            <strong>保安队长李强</strong>制造电力波动并关闭/干扰监控系统
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-time">21:25-21:35</div>
                        <div class="timeline-content">
                            外部盗窃人员在王芳的接应下进入展厅，盗走「玉龙佩」
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-time">21:30</div>
                        <div class="timeline-content">
                            红外传感器检测到异常活动，但因监控中断未被及时发现
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-time">21:40</div>
                        <div class="timeline-content">
                            监控系统恢复正常，现场已被清理
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-time">次日</div>
                        <div class="timeline-content">
                            李强银行账户收到不明大额存款
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="sidebar">
                <div class="execution-stats">
                    <div class="stat-box">
                        <h3>协作效率</h3>
                        <div class="stat-value">92%</div>
                        <div class="stat-description">智能体协作效率</div>
                    </div>
                    <div class="stat-box">
                        <h3>分析准确率</h3>
                        <div class="stat-value">89%</div>
                        <div class="stat-description">基于证据的分析准确率</div>
                    </div>
                    <div class="stat-box">
                        <h3>执行时间</h3>
                        <div class="stat-value">7.8s</div>
                        <div class="stat-description">总协作分析时间</div>
                    </div>
                </div>
                
                <div class="execution-controls">
                    <h3>🎮 执行控制</h3>
                    <button class="control-button primary">重新执行联合分析</button>
                    <button class="control-button secondary">导出完整报告</button>
                    <button class="control-button secondary">生成行动方案</button>
                    <button class="control-button secondary">启动新的分析任务</button>
                </div>
                
                <div class="system-messages">
                    <h3>💬 系统消息</h3>
                    <div class="message success">
                        <strong>成功：</strong> 智能体协作分析已完成
                    </div>
                    <div class="message info">
                        <strong>信息：</strong> 两个智能体协同工作，互补优势
                    </div>
                    <div class="message info">
                        <strong>信息：</strong> 已生成详细的案件分析报告
                    </div>
                    <div class="message warning">
                        <strong>建议：</strong> 保存分析结果并启动后续调查
                    </div>
                </div>
            </div>
        </div>
        
        <div class="navigation">
            <button class="nav-button" onclick="window.location.href='execution-page-2.html'">上一页执行</button>
            <button class="nav-button" onclick="window.location.href='config-page-1.html'">返回配置首页</button>
        </div>
    </div>
</body>
</html>